import request from '@/utils/request.js'

// 发送文章的API接口
export const postArticleAPI = (fd) => request.post('/my/article/add', fd)

// 获取文章列表数据的API
export const getArticleListAPI = obj => request.get('/my/article/list', { params: obj })

// 根据id 删除文章的API接口
export const deleteArtAPI = (id) => request.delete('/my/article/info', { params: { id } })
